cubic-bezier implementation for Spark AR animation easings.
Assorted common math functions & utilities